Pocketbase Kotlin
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
Pocketbase Kotlin
Pocketbase Kotlin
/
io.github.agrevster.pocketbaseKotlin.models.utils
/
ListResult
List
Result
@
Serializable
data
class
ListResult
<
T
>
(
val
page
:
Int
=
1
,
val
perPage
:
Int
=
0
,
val
totalItems
:
Int
=
0
,
val
totalPages
:
Int
=
0
,
val
items
:
List
<
T
>
)
The base class used for list queries
Members
Constructors
List
Result
Link copied to clipboard
constructor
(
page
:
Int
=
1
,
perPage
:
Int
=
0
,
totalItems
:
Int
=
0
,
totalPages
:
Int
=
0
,
items
:
List
<
T
>
)
Properties
items
Link copied to clipboard
val
items
:
List
<
T
>
page
Link copied to clipboard
val
page
:
Int
=
1
per
Page
Link copied to clipboard
val
perPage
:
Int
=
0
total
Items
Link copied to clipboard
val
totalItems
:
Int
=
0
total
Pages
Link copied to clipboard
val
totalPages
:
Int
=
0
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String